// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
#pragma once

namespace Weathr
{
    // Represents the result of a dialog box popup.
    enum class DialogResult
    {
        OK,
        Cancel
    };

    // Helper class for displaying modal dialogs.
    ref class MessageDialog
    {
    internal:
        // Displays a MessageDialog control that contains the provided content and title, and an OK button.
        static concurrency::task<void> ShowAcceptDialogAsync(Platform::String^ content, Platform::String^ title);
        // Displays a MessageDialog control that contains the provided content and title, and OK and Cancel buttons.
        static concurrency::task<DialogResult> ShowConfirmDialogAsync(Platform::String^ content, Platform::String^ title);
    };
}